package com.retoc.oawx.mapper;

import com.retoc.oawx.domain.Dept;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

/**
* @author retoc
* @description 针对表【tb_dept】的数据库操作Mapper
* @createDate 2022-05-01 20:00:13
* @Entity com.retoc.oawx.domain.Dept
*/
@Mapper
public interface DeptMapper extends BaseMapper<Dept> {

    public ArrayList<HashMap> searchDeptMembers(String keyword);

    public List<Dept> searchAllDept();

    public int insertDept(String deptName);

    public int deleteDeptById(int id);

    public int updateDeptById(Dept entity);
}




